using System;
using System.Collections.Generic;
using System.Text;
using System.Data;

namespace Pixysoft.Framework.Noebe
{
    public interface IQuerion : IDisposable
    {
        /// <summary>
        /// select all
        /// </summary>
        /// <param name="table"></param>
        /// <returns></returns>
        DataTable Select(string tableName);
        /// <summary>
        /// select by primary key
        /// </summary>
        /// <param name="table"></param>
        /// <param name="values"></param>
        /// <returns></returns>
        DataTable SelectByPk(string tableName, params object[] values);
    }
}
